package com.yu.mapper;

import com.yu.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Scanner;

//表示这是一个mybatis的mapper类 Dao
@Mapper
@Repository
public interface GoodsMapper {
    List<Goods> queryGoodsList ();

    Goods queryById (int id);

    int addGoods (Goods goods);

    int updateGoods (Goods goods);

    int deleteGoods (Goods goods);


}
